package com.tanhua.db.api;

import com.tanhua.api.DimensionsApi;
import com.tanhua.db.mapper.Dimensionsmapper;
import com.tanhua.model.pojo.Dimensions;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;
@DubboService
public class DimensionsApiImpl implements DimensionsApi {

    @Autowired
    private Dimensionsmapper dimensionsmapper;

    @Override
    public List<Dimensions> selectAll() {
        List<Dimensions> dimensionsList = dimensionsmapper.selectAll();
        return dimensionsList;
    }
}
